package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_union_delete", desc = "解散商会", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionDelete extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id", isIndex = true)
    private String unionUid;
    @FieldTypeAnnotation(desc = "会长id")
    private long masterUserId;
    @FieldTypeAnnotation(desc = "商会经验")
    private long unionExp;
    @FieldTypeAnnotation(desc = "商会财富")
    private long unionWealth;
    @FieldTypeAnnotation(desc = "删除状态")
    private int deleteState;

    public LogUnionDelete(long userId, String unionUid, long masterUserId, long unionExp, long unionWealth, int deleteState) {
        this.userId = userId;
        this.unionUid = unionUid;
        this.masterUserId = masterUserId;
        this.unionExp = unionExp;
        this.unionWealth = unionWealth;
        this.deleteState = deleteState;
    }

    public long getUserId() {
        return userId;
    }
}
